package com.example.shortmessage.data.entity;

import org.litepal.annotation.Column;
import org.litepal.crud.LitePalSupport;

/**
 * 短信信息实体类
 * @author 27638
 */
public class MessageData extends LitePalSupport {

    private int id;
    @Column(unique = true)
    private int sms_id;
    private String number;
    private String name;
    private String body;
    private int read;
    private int type;
    private long date;

    public MessageData() {
    }

    public MessageData(int sms_id, String number, String name, String body, int read, int type, long date) {
        this.sms_id = sms_id;
        this.number = number;
        this.name = name;
        this.body = body;
        this.read = read;
        this.type = type;
        this.date = date;
    }

    public int getId() {
        return id;
    }

    public int getSms_id() {
        return sms_id;
    }

    public void setSms_id(int sms_id) {
        this.sms_id = sms_id;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getBody() {
        return body;
    }

    public void setBody(String body) {
        this.body = body;
    }

    public int getRead() {
        return read;
    }

    public void setRead(int read) {
        this.read = read;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public long getDate() {
        return date;
    }

    public void setDate(long date) {
        this.date = date;
    }
}
